import http from '@/utils/http'

/**
 * 读取本地配置
 * @returns 
 */
 export function readConfig(baseUrl){
    return http.get(`${baseUrl?baseUrl:""}/api/readConfig`) 
}
/**
 * 修改本地配置
 * @returns
 */
 export function updateConfig(baseUrl,params){
    return http.post(`${baseUrl?baseUrl:""}/api/readConfig/updateConfig`,params)
}